﻿using AesonBaseFramework.TestData;
using Microsoft.Practices.Prism.Logging;
using Microsoft.Practices.Prism.Mvvm;
using Microsoft.Practices.Prism.PubSubEvents;
using System.ComponentModel;

namespace AesonXamlControls.Test.Views.DataEntry
{
    public class DataEntryViewViewModel : BindableBase
    {
        #region Field from Ctor
        public IEventAggregator EventAggregator { get; set; }
        #endregion

        public Person User { get; set; }

        #region Ctor
        public DataEntryViewViewModel(IEventAggregator eventAgregator)
        {
            #region Field assignation
            this.EventAggregator = eventAgregator;

            User = new Person { Name = "Gaetan", Mail = "Gaetan.Jaminon#hotmail.com" };
            #endregion

        }
        #endregion


    }
}
